# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Johannes Weiner <hannes@saeurebad.de>

pkgname=libsigsegv
pkgver=2.13
pkgrel=1
arch=('x86_64')
pkgdesc="Page fault detection library"
url="https://www.gnu.org/software/libsigsegv/"
license=('GPL2')
depends=('glibc')
source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha1sums=('c371743afe08c2ec817bd6d37f32d40cb28ea5a9'
          'SKIP')
validpgpkeys=('68D94D8AAEEAD48AE7DC5B904F494A942E4616C2'
              '9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development) <bruno@clisp.org>

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --enable-shared
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
